﻿using System;
using Ioc.Kernel;

namespace KernelProfilingApp
{
    public class Program
    {
        private static void Main()
        {
            var container = new IocContainer();
            var processBusiness = new AllProcessesBusiness();

            processBusiness.ProcessSimpleTransientDependency(container);
            processBusiness.ProcessNamedTransientDependency(container);
            processBusiness.ProcessSingletonDependency(container);
            processBusiness.ProcessThreadDependency(container);

            container.Dispose();
            Console.WriteLine("Done.");
            Console.ReadLine();
        }
    }
}